package com.sanben.company.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sanben.company.data.req.CompanyTeamCaseReq;
import com.sanben.company.data.vo.CompanyTeamCaseVo;
import com.sanben.company.entity.CompanyTeamCase;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author cyh
 * @description: 公司团队案例表 Mapper
 * @date: 2020-08-11
 */
public interface CompanyTeamCaseMapper extends BaseMapper<CompanyTeamCase> {

    /**
     * 列表分页
     *
     * @param page
     * @param req
     * @return
     */
    List<CompanyTeamCaseVo> page(Page<CompanyTeamCaseVo> page,
                                 @Param("req") CompanyTeamCaseReq req);
}
